
<!--我的创建-->
<div *ngIf="ifShowHide">
    <div style="padding: 10px;">
      <dc-table-new #tableNew [datas]="tableData" [headers]="headerConfig" [options]="tableOptions"(sortEvent)="sortEvent($event)">
        <ng-template let-data>
          <dc-table-column-new [header]="data.h" [data]="data.d" [field]="'infoCode'" (click)="findItemByKey(data.d)">
            <span style="color: #009dd9;">{{data.d.infoCode}}</span>
          </dc-table-column-new>
          <dc-table-column-new [header]="data.h" [data]="data.d" [field]="'infoName'" (click)="findItemByKey(data.d)">
            <span style="color: #009dd9;">{{data.d.infoName}}</span>
          </dc-table-column-new>
          <dc-table-column-new [header]="data.h" [data]="data.d" [field]="'createName'">
            <span title="{{data.d.phone}}">{{data.d.createName}}</span>
          </dc-table-column-new>
          <dc-table-column-new [header]="data.h" [data]="data.d" [field]="'infoStatus'">
            {{data.d.infoStatusName}}
          </dc-table-column-new>
          <dc-table-column-new [header]="data.h" [data]="data.d" [field]="'infoType'">
            {{data.d.infoTypeName}}
          </dc-table-column-new>
          <dc-table-column-new [header]="data.h" [data]="data.d" [field]="'closeTime'">
            {{data.d.closeTime}}
          </dc-table-column-new>
          <dc-table-column-new [header]="data.h" [data]="data.d" [field]="'action'">
            <div>
              <img style="margin-right: 5px;" title="关闭" *ngIf="data.d.infoStatus == 1" (click)="udateStatusClose(data.d)"  src="" alt="">
              <img style="margin-right: 5px;" title="重新打开" *ngIf="data.d.infoStatus == 2" (click)="udateStatusOpen(data.d.id)" src="" alt="">
              <img style="margin-right: 5px;" title="编辑" *ngIf="data.d.infoStatus == 0" (click)="findItemByKeyEdit(data.d)" src="" alt="">
              <img style="margin-right: 5px;" title="详情" *ngIf="data.d.infoStatus != 0" (click)="findItemByKey(data.d)" src="" alt="">  
              <img style="margin-right: 5px;" title="删除" *ngIf="data.d.infoStatus == 0" (click)="deleteNotice(data.d.id)" src="" alt="">
            </div>
          </dc-table-column-new>
        </ng-template>
      </dc-table-new>
    </div>
    <div *ngIf="pager" style="margin-right: 10px;">
        <dc-pagination
            [total]="pager.total" 
            [pageSize]="pager.limit" 
            [nowPage]="pager.page" 
            [pageNum]="pager.pageNum"
            (nowPageChange)="nowPageChange($event)">
        </dc-pagination>
    </div>
</div>

<div *ngIf="!ifShowHide">
  <div style="position: absolute;left: 50%;top: 50%;margin-left: -215px;margin-top: -65px;">
    <img src="" alt="">
  </div>
</div>

